base16 (hex) encoding for Rust.
This is a base16 (e.g. hexadecimal) encoding and decoding library which was initially written with an emphasis on performance.
This was before Rust added SIMD, and I haven't gotten around to adding that. It's still probably the fastest non-SIMD impl, but that doesn't say much.
Usage
Add base16 = "0.1"
to Cargo.toml, then:
extern crate base16;
More usage examples in the docs.
no_std
Usage
As of 0.1.2, this crate by default has the std
feature enabled, however, it
may be turned off, allowing it to be used in no_std envionments. Not all
functions are available without the stdlib, but each function should document whether or not it is.
License
Dual MIT/Apache2 (whichever you prefer) since that seems hip for Rust code.